package cn.linkstudy.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;

@Data
@TableName("chat_record")
public class ChatRecord {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String sessionId;

    private String content;

    private String grade; // 年级
    private String knowledgePoint; // 知识点

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}